print(9 / 2)  # 除
print(9 // 2)  # 取整除
print(2 ** 3)  # 2的3次幂

print(0 and "ab")  # 0
print(1 or 0)  # 1

print(1 in (1, 2, 3))
print(1 not in (1, 2, 3))
print("h" in "hello")
print("hi" in "hello")

a = b = 1
print(a is b)  # 同一个引用

""""
age = int(input("请输入您的年龄 "))
if age < 18:
    print("你还未成年")
    print("好好读书")
elif age < 60:
    print("好好工作")
else:
    print("安度晚年")
"""

"""
text = input();
match text:
    case "Hi":
        print("HI")
    case "Hello":
        print("HELLO")
    case _:
        print("Not Hi or Hello")
"""

n = 0
while n < 5:
    print(n)
    n += 1

for i in range(5):  # 0-4,5个数
    print("HI")
    print(i)
